package com.example.mybatisjpa.config;

import com.github.pagehelper.PageInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Misty on 2020-12-04
 */
@Configuration
public class MyBatisConfigurer {
    @Bean
    public PageInterceptor pageInterceptor() {
        return new PageInterceptor();
    }
}
